package com.itheima.tliasproject.service;


import com.itheima.tliasproject.pojo.PageResult;
import com.itheima.tliasproject.pojo.StuOPtion;
import com.itheima.tliasproject.pojo.Student;
import com.itheima.tliasproject.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    //分页查询
    PageResult getAll(StudentQueryParam studentQueryParam);
    //删除数据可以实现 批量删除
    void delete(List<Integer> ids);
    //型增学生信息
    void save(Student student);
    //根据ID查询学生数据
    Student selectById(Integer id);
    //修改学员
    void update(Student student);
    //处理违纪情况
    void updateByscore(Integer id, Integer score);

}
